--[[
local CALENDAR_EVENTTYPE_RAID		= 1;
local CALENDAR_EVENTTYPE_DUNGEON	= 2;
local CALENDAR_EVENTTYPE_PVP		= 3;
local CALENDAR_EVENTTYPE_MEETING	= 4;
local CALENDAR_EVENTTYPE_OTHER		= 5;

local CALENDAR_INVITESTATUS_INVITED		= 1;
local CALENDAR_INVITESTATUS_ACCEPTED	= 2;
local CALENDAR_INVITESTATUS_DECLINED	= 3;
local CALENDAR_INVITESTATUS_CONFIRMED	= 4;
local CALENDAR_INVITESTATUS_OUT			= 5;
local CALENDAR_INVITESTATUS_STANDBY		= 6;

local num = CalendarGetNumPendingInvites()

local month, year = CalendarGetMonth(monthOffset)
local _, _, day = CalendarGetDate()

local numEvents = CalendarGetNumDayEvents(monthOffset, day)

local title, hour, minute, calendarType, sequenceType, eventType, texture, modStatus = CalendarGetDayEvent(monthOffset, day, eventIndex)
local name, description, texture = CalendarGetHolidayInfo(monthOffset, day, eventIndex)
local flag = CanEditGuildEvent()

CalendarGetEvent(monthOffset, day, eventIndex) -- select the event to edit

-- The following works when a particular event has been selected

local flag = CalendarEventIsGuildWide()
local flag = CalendarEventIsModerator()
local flag = CalendarEventHasPendingInvite()

local title, description, eventType, repeatOption, maxSize, textureIndex,
	weekday, month, day, year, hour, minute,
	lockoutWeekday, lockoutMonth, lockoutDay, lockoutYear, lockoutHour, lockoutMinute,
	locked, autoApprove, pendingInvite, inviteStatus = CalendarGetEventInfo()

CalendarEventAvailable()
CalendarEventDecline()


local numInvites = CalendarEventGetNumInvites()
local name, level, className, classFilename, inviteStatus, modStatus, inviteIsMine = CalendarEventGetInvite(inviteIndex)

CalendarEventSetDate(month, day, year)
CalendarEventSetTime(hour, minute)CalendarEventSetTitle(title)
CalendarEventSetDescription(description)
CalendarEventSetType(eventType)


local opt1, opt2, ... = CalendarEventGetRepeatOptions()
CalendarEventSetRepeatOption(opt)

local tex1, tex2, ... = CalendarEventGetTextures(eventType)
CalendarEventSetTextureID(textureId)


CalendarEventSetAutoApprove()
CalendarEventClearAutoApprove()

CalendarEventSetLocked()
CalendarEventClearLocked()

CalendarEventInvite(name)

local numInvites = CalendarEventGetNumInvites()
local name, level, className, classFilename, inviteStatus, modStatus = CalendarEventGetInvite(inviteIndex)

CalendarEventRemoveInvite(inviteIndex)
CalendarEventSetModerator(inviteIndex)
CalendarEventClearModerator(inviteIndex)
CalendarEventSetStatus(inviteIndex, inviteStatus)


CalendarRemoveEvent()
CalendarUpdateEvent()

CalendarAddEvent()
CalendarNewArenaTeamEvent(arenaTeamId)
CalendarNewGuildEvent(minLevel, maxLevel, rank)

local minLevel, maxLevel, rank = CalendarDefaultGuildFilter()

]]

function CalendarGetNumPendingInvites()
	return 0
end


function CalendarGetNumDayEvents(monthOffset, day)
end

function CalendarGetDate()
end

function CalendarEventGetTypes()
end

function CalendarDefaultGuildFilter()
end

function CalendarEventGetRepeatOptions()
	return "NONE", "WEEK", "MONTH"
end

function CalendarCanSendInvite()
end
